package com.ruoyi.terminal.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * sim卡管理对象 dc_sim
 * 
 * @author ruoyi
 * @date 2021-01-08
 */
public class DcSim extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** sim卡iccid号 */
    @Excel(name = "sim卡iccid号")
    private String simIccid;

    /** sim卡msisdn号 */
    @Excel(name = "sim卡msisdn号")
    private String simMsisdn;

    /** sim卡imsi号 */
    @Excel(name = "sim卡imsi号")
    private String simImsi;

    /** sim卡运营商 */
    @Excel(name = "sim卡运营商")
    private String simTeleOpr;

    /** sim卡类别 */
    @Excel(name = "sim卡类别")
    private String simKind;

    /** 绑定终端的imei号 */
    @Excel(name = "绑定终端的imei号")
    private String termImei;

    /** sim卡余额 */
    @Excel(name = "sim卡余额")
    private Double simAcctBal;

    /** sim卡已用流量 */
    @Excel(name = "sim卡已用流量")
    private Double simFlowUsedM;

    /** sim卡开卡日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "sim卡开卡日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date simOpenDate;

    /** sim卡激活日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "sim卡激活日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date simActiveDate;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date gmtCreate;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date gmtModified;

    public String getSimIccid() {
        return simIccid;
    }

    public void setSimIccid(String simIccid) {
        this.simIccid = simIccid;
    }

    public String getSimMsisdn() {
        return simMsisdn;
    }

    public void setSimMsisdn(String simMsisdn) {
        this.simMsisdn = simMsisdn;
    }

    public String getSimImsi() {
        return simImsi;
    }

    public void setSimImsi(String simImsi) {
        this.simImsi = simImsi;
    }

    public String getSimTeleOpr() {
        return simTeleOpr;
    }

    public void setSimTeleOpr(String simTeleOpr) {
        this.simTeleOpr = simTeleOpr;
    }

    public String getSimKind() {
        return simKind;
    }

    public void setSimKind(String simKind) {
        this.simKind = simKind;
    }

    public String getTermImei() {
        return termImei;
    }

    public void setTermImei(String termImei) {
        this.termImei = termImei;
    }

    public Double getSimAcctBal() {
        return simAcctBal;
    }

    public void setSimAcctBal(Double simAcctBal) {
        this.simAcctBal = simAcctBal;
    }

    public Double getSimFlowUsedM() {
        return simFlowUsedM;
    }

    public void setSimFlowUsedM(Double simFlowUsedM) {
        this.simFlowUsedM = simFlowUsedM;
    }

    public Date getSimOpenDate() {
        return simOpenDate;
    }

    public void setSimOpenDate(Date simOpenedDate) {
        this.simOpenDate = simOpenedDate;
    }

    public Date getSimActiveDate() {
        return simActiveDate;
    }

    public void setSimActiveDate(Date simActiveDate) {
        this.simActiveDate = simActiveDate;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("simIccid", getSimIccid())
            .append("simMsisdn", getSimMsisdn())
            .append("simImsi", getSimImsi())
            .append("simTeleOpr", getSimTeleOpr())
            .append("simKind", getSimKind())
            .append("termImei", getTermImei())
            .append("simAcctBal", getSimAcctBal())
            .append("simFlowUsedM", getSimFlowUsedM())
            .append("simOpenDate", getSimOpenDate())
            .append("simActiveDate", getSimActiveDate())
            .append("gmtCreate", getGmtCreate())
            .append("gmtModified", getGmtModified())
            .toString();
    }
}
